package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

public interface DeptService {


    void delete(Integer id) throws Exception;

    List<Dept> list();

    void add(Dept dept);
}
